function ecranfr() { window.open("v2/html_fr/index.htm","masdepeintfr",'toolbar=0,scrollbars=0,menubar=0,location=0,resizable=yes,directories=0,status=0,width='+(screen.width-10)+',height='+(screen.height-59)+',left=0,top=0') } function ecranen() { window.open("v2/html_en/index.htm","masdepeinten",'toolbar=0,scrollbars=0,menubar=0,location=0,resizable=yes,directories=0,status=0,width='+(screen.width-10)+',height='+(screen.height-59)+',left=0,top=0') } function provisoire() { window.open("presentation/index.htm","masdepeint",'toolbar=0,scrollbars=0,menubar=0,location=0,resizable=yes,directories=0,status=0,width='+(screen.width-10)+',height='+(screen.height-59)+',left=0,top=0') } function pleinecran() { window.resizeTo(screen.width+10,screen.height); //on agrandit la fenetre à la taille de l'écran haut=screen.height-parent.document.body.clientHeight; //calcul de la hauteur des barres d'outils window.moveTo (-5,-haut) ; //on place la fenetre pour ne plus voir les barres de l'explorer window.resizeTo(screen.width+10,2000); //on agrandit la fenetre de façon à ne voir que la page // if ((document.body.clientHeight > 768 && screen.height == 768) //Ce test sert dans le cas ou la fenetre ie etait en mode agrandie // || (document.body.clientHeight > 600 && screen.height == 600) ) // { // var eccart = parent.document.body.clientHeight - screen.height; // window.moveTo (-5,-haut+27+eccart); // Window.resizeTo(screen.width+10,screen.height+haut-eccart); //} } ///////////////////////////////// I N D E X ///////////////////////////////// //--------------------CREDITS INDEX------------------------------------ function creditsfr() { creditfrfr = window.open("http://www.masdepeint.com/v2/html_fr/credits.htm","masdepeintreservation","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); creditfrfr.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } //--------------------CREDITS ACCUEIL------------------------------------ function creditsfrac() { creditfrfrac = window.open("credits.htm","masdepeintreservation","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); creditfrfrac.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } //------------------- FORM RESA INDEX ----------------------- function reservfrindex() { formfr = window.open("v2/form/form.html","masdepeintreservation","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); formfr.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } function reservenindex() { formen = window.open("v2/form/form.html","masdepeintreservation","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); formen.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } //-------------------NEWS ACTU INDEX ----------------------- function actufrindex() { actualitefr = window.open("form/form.html","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); actualitefr.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } function actuenindex() { actualiteen = window.open("v2/html_en/actualite.html","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); actualiteen.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } ///////////////////////////////// DANS LE SITE V2/HTML_FR ///////////////////////////////// //------------------- FORMULAIRE DE PRE-RESERVATIONS FRANCAIS----------------------- function reservfr() { formfr = window.open("form/form.html","prenotazioni","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); formfr.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } function reserven() { formen = window.open("form/form.html","prenotazione","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); formen.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } //------------------- DEMANDE DE DEVIS SEMINAIRE ----------------------- function devisfr() { ddedevisfr = window.open("devis/etape1.html","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); ddedevisfr.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } function devisen() { ddedevisen = window.open("devis/etape1.html","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); ddedevisen.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } //-------------------NEWS ACTU----------------------- function actufr() { actualitefr = window.open("actualite.html","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); actualitefr.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } function actuen() { actualiteen = window.open("actualite.html","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); actualiteen.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } //-------------------LETTRE D'INFORMATION----------------------- function mailfr() { mailingfr = window.open("newsletter.html","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); mailingfr.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } function mailen() { mailingen = window.open("newsletter.html","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); mailingen.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } //-------------------MENTIONS LEGALES----------------------- function legalesfr() { legalfr = window.open("legales/index.htm","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); legalfr.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } function legalesen() { legalen = window.open("legales/index.htm","masdepeint","toolbar=no,width=900,height=640,menubar=yes,status=no,scrollbars=yes,resizable=no"); legalen.moveTo(((screen.width/2)-405),((screen.height/2)-350)) } function redir() { if (screen.width<800) {window.location="index_800.html";} if (screen.width==800) {window.location="index_800.html";} if (screen.width==1024) {window.location="#";} if (screen.width==1152) {window.location="#";} if (screen.width>1152) {window.location="#";} }